.class Lcom/nemustech/regina/ElementReginaWidget$14;
.super Ljava/lang/Object;
.source "ElementReginaWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementReginaWidget;->morphExtWidgetBack(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementReginaWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementReginaWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 1359
    iput-object p1, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 6
    .parameter "object"

    .prologue
    const/4 v3, 0x0

    const/4 v5, 0x0

    .line 1362
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mWidget3DWidth:F

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterMorph3DHeight:F

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1363
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v5, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1364
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v1, v3}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v2

    iget-object v3, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v3, v3, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v4, 0x2

    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v3

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1366
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v1, 0x3f80

    const-wide/16 v2, 0x96

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    .line 1367
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mBackCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v1, Lcom/nemustech/regina/ElementReginaWidget$14$1;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementReginaWidget$14$1;-><init>(Lcom/nemustech/regina/ElementReginaWidget$14;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1375
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ElementLocator;->getCurrentWorkspace()Lcom/nemustech/regina/RGWorkspace;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/RGWorkspace;->requestUpdate()V

    .line 1376
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$14;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1377
    return-void
.end method
